#include <iostream>
#include <string>

using namespace std;

class Bird {
private:
    struct Bird_Information {
        string Bird_Name;
        struct Bird_color {
            string Head_color;
            string wings_color;
            string tail_color;
        } Bird_color;

        string Bird_Figure;
        string Birdliness;
        string birdsong;
    } Bird_Info;

public:
    Bird(const string& name) : Bird_Info{name, {"", "", ""}, "", "", ""} {}

    void bird_judgment(const string& str1, const string& str2) {
        if (str1 == "vertebrates" && str2 == "feathers") {
            cout << "是鸟类\n" << endl;
        } else {
            cout << "不是鸟类,请重新输入鸟的两种特征\n" << endl;
        }
    }

    void setBirdName(const string& name) {
        Bird_Info.Bird_Name = name;
    }

    void setBirdColor(const string& head, const string& wings, const string& tail) {
        Bird_Info.Bird_color.Head_color = head;
        Bird_Info.Bird_color.wings_color = wings;
        Bird_Info.Bird_color.tail_color = tail;
    }

    string getBirdName() const {
        return Bird_Info.Bird_Name;
    }
};

class Super_Bird : public Bird {
public:
    Super_Bird(const string& name) : Bird(name) {}

    void Bird_Check() const {
        cout << "查看鸟的名字：" << getBirdName() << endl;
    }
};

int main() {
    Super_Bird Bird1("麻雀");
    Bird1.setBirdColor("Blue", "Brown", "Green");
    Bird1.Bird_Check();
    Bird1.bird_judgment("vertebrates","feathers");
    return 0;
}